Sustaining Exposure to Fact-checks: Misinformation Discernment, Media Consumption, and its Political Implications
Jeremy Bowles, Kevin Croke, Horacio Larreguy, Shelley Liu & John Marshall


Replication Readme

Software used: R 4.4.0
Required packages (R): pacman, caret, tidyverse, data.table, viridis, haven, Rfast, glmnet, fixest, egg, modelsummary, kableExtra, car, purrr


To replicate all figures and plots in the paper, run files in this order:

(1) analysis.R				: R file which generates all figures and tables in the manuscript and supplementary materials and outputs to "Figures" or "Tables" subfolder respectively.
(2) paper_and_appendix.tex		: Shell LaTeX file which will populate with the output of (1). 
					  All tables and figures are named according to their respective positions in the manuscript or supplementary materials.
  					  The "Tables" and "Figures" subfolders are populated with the output of the replication package to enable this file to render without running the replication scripts.


Other files in root folder:

codebook.pdf			: Codebook for analysis datasets.
paper_and_appendix.tex		: All tables and figures in main paper/online appendix produced using replication data.
paper_and_appendix.pdf		: All tables and figures in main paper/online appendix produced using replication data (output).
survey_instrument.pdf		: Endline survey instrument used for construction of all outcome measures.


Files in "Data" subfolder (see Codebook for information on particular variables):

Data/survey_data.dta			: Main file containing survey responses from participants.
Data/variable_map.csv			: File used to label columns in analysis tables.
Data/ab7.csv				: Afrobarometer round 7 data for Uganda (used in Figure C2).
Data/quiz_completion.csv		: File containing information on participants' quiz completion (used in Figure C3).
Data/topics.csv				: File containing the breakdown of fact-checks according to their topics (used in Figure 1).